﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SiteMessageForm.ascx.cs"
    Inherits="ExpertMIS.Admin.UserControl.SiteMessageForm" %>

<script src="../../js/jquery-1.3.2.js" type="text/javascript"></script>
<style type="text/css">
    table
    {
      vertical-align:top;
    }
    .expertImageCell
    {
        width: 150px;
        text-align: center;
        vertical-align: middle;
    }
    .style3
    {
        font-size: 12px;
        font-family: 宋体;
        width: 120px;
    }
    .panelTitle
    {
        width: 600px;
        height: 25px;
        font-size: 11pt;
        background-color: Blue;
        color: White;
        text-align: left;
        vertical-align: middle;
    }
    .style4
    {
        font-size: 12px;
        font-family: 宋体;
        text-align:left top;
    }
    .style5
    {
        font-size: 12px;
        font-family: 宋体;
        text-align: left;
        height: 25px;
    }
    .style10
    {
        width: 220px;
    }
</style>
<script type="text/javascript">
    $(document).ready(function() {
        $('#<%=btnSelectUser.ClientID%>').click(function() {
            window.selectUserIDList = "";
            window.selectUserNameList = "";

            showModalDialog('<%=Page.ResolveUrl("~/Admin/SelectUserList.aspx")%>', window, "status:no;resizable:yes;dialogHeight:420px;dialogWidth:515px;unadorne:yes");
            
            $('#<%=hfSelectedUser.ClientID%>').val(window.selectUserIDList);
            $('#<%=txUserName.ClientID%>').val(window.selectUserNameList);

            return false;
        });
    });
</script>
<div class="error">
</div>
<div class="content_title">
    发送站内信息</div>
<div class="content_detail" style="padding-left: 12px; width: 588px; text-align: left;">
    <table style="width: 100%; border: 0;">
        <tr>
            <td class="style3">
                接收用户
            </td>
            <td class="style10">
                <asp:TextBox ID="txUserName" runat="server" Enabled="False" ReadOnly="True" 
                    Width="100%"></asp:TextBox>
                <asp:HiddenField ID="hfSelectedUser" runat="server" />
            </td>
            <td>
                <asp:Button ID="btnSelectUser" runat="server" Text="选择" Width="40px" />
                </td>
        </tr>
        <tr>
            <td class="style3">
                标题
            </td>
            <td>
                <asp:TextBox ID="txTitle" runat="server" 
                    Width="100%"></asp:TextBox>
            </td>
            <td class="style10">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style5" colspan="3">
                消息内容</td>
        </tr>
        <tr>
            <td class="style4" colspan="3">
                <asp:TextBox TextMode="MultiLine" Rows="8" runat="server" ID="txContent" Height="95%"
                    Width="100%"></asp:TextBox>
            </td>
        </tr>
    </table>
</div>
